
namespace JTZY.Model.Goods.Dto
{
    /// <summary>
    /// 代理货品池查询对象
    /// </summary>
    public class CorecmsagentproductsQueryDto : PagerInfo 
    {
        public string Sn { get; set; }
    }

    /// <summary>
    /// 代理货品池输入输出对象
    /// </summary>
    public class CorecmsagentproductsDto
    {
        [Required(ErrorMessage = "序列不能为空")]
        public long Id { get; set; }

        [Required(ErrorMessage = "关联代理商品池不能为空")]
        public int AgentGoodsId { get; set; }

        [Required(ErrorMessage = "商品序列不能为空")]
        public int GoodId { get; set; }

        [Required(ErrorMessage = "货品序列不能为空")]
        public int ProductId { get; set; }

        [Required(ErrorMessage = "货品成本价格不能为空")]
        public decimal ProductCostPrice { get; set; }

        [Required(ErrorMessage = "货品销售价格不能为空")]
        public decimal ProductPrice { get; set; }

        [Required(ErrorMessage = "代理商等级不能为空")]
        public int AgentGradeId { get; set; }

        [Required(ErrorMessage = "代理价格不能为空")]
        public decimal AgentGradePrice { get; set; }

        public DateTime? CreateTime { get; set; }

        public DateTime? UpdateTime { get; set; }

        [Required(ErrorMessage = "是否删除不能为空")]
        public bool IsDel { get; set; }

        public int? Stock { get; set; }

        public int? AngenId { get; set; }

        [Required(ErrorMessage = "是否上架不能为空")]
        public bool Marketable { get; set; }

        public decimal Vip0 { get; set; }

        public decimal Vip1 { get; set; }

        public decimal Vip2 { get; set; }

        public decimal Vip3 { get; set; }

        public decimal Vip4 { get; set; }

        public int? MinStock { get; set; }

        public int? UserId { get; set; }

        public int? StockWarn { get; set; }

        public string SkuLocation { get; set; }

        public string SkuImage { get; set; }



        [ExcelColumn(Name = "是否删除")]
        public string IsDelLabel { get; set; }
    }
}